package com.sg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "Integral_flow")
public class IntegralFlow {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 积分时间
     */
    @TableField(value = "tag_id")
    private String tagId;

    /**
     * 手环ID
     */
    @TableField(value = "chang_time")
    private Date changTime;

    /**
     * 积分变化原因
     */
    @TableField(value = "chang_reason")
    private String changReason;

    /**
     * 变化数量
     */
    @TableField(value = "chang_unm")
    private Integer changUnm;

    /**
     * 抵达位置
     */
    @TableField(value = "arrive_info")
    private String arriveInfo;
}